﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="QR_Code.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
    <script src="/jquery-1.11.1.min.js"></script>
   <%-- <script>
        $("Document").ready(function () {
            $("#Button1").click(function () {
               $("h1").css({ "background-color": "red", "font-size": "120%" });
                //alert("生成成功！");
                
            });
        });
    </script>--%>
    
<script type="text/javascript">//<h1>标签字体闪烁
    var colors = ["red", "yellow", "blue"];
    var a = 0;
    var f = setInterval("changeColor(a)", 1000);
    function changeColor(i) {
        $("#controlColor").css("color", colors[i]);
        if (a == colors.length - 1) {
            a = 0;
        } else {
            a++;
        }

    }
</script>
<body>
    <form id="form1" runat="server">
    <div>
    <h1 id="controlColor">输入文字生成简单的二维码</h1>
    </div>
        <asp:Label ID="Label1" runat="server" Text="输入生成内容："></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" BackColor="White"></asp:TextBox>
        <p>
            <asp:Button ID="Button1" runat="server" Height="35px" Text="生成二维码" Width="89px" BackColor="#66FFCC" OnClick="Button1_Click" />
        </p>
        <asp:Image ID="Image1" runat="server" Height="286px" Width="263px" BackColor="#C7EDCC" />
    </form>
</body>
</html>
